package cn.tedu.management.portal.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller //这个主要拿来做页面的转发
public class HtmlController {

    @GetMapping("/login.html")
    public String login(){
        return "login";
    }


    @GetMapping("/index.html")
    public String index(){
        return "index";
    }

    @GetMapping("/salary/salary.html")
    public String salary(){
        return "salary/salary";
    }

    @GetMapping("/salary/salaryAdd.html")
    public String salaryAdd(){
        return "salary/salaryAdd";
    }

    @GetMapping("/salary/salaryEdit.html")
    public String salaryEdit(){
        return "salary/salaryEdit";
    }


    @GetMapping("/department.html")
    public String department(){
        return "department";
    }
}
